package com.mqz.seckill.vo;

import com.mqz.seckill.validator.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class LoginVO {
    @NotNull(message = "用户名不能为空")
 @IsMobile
    private String mobile;
    @NotNull(message = "密码不能为空")
    @Length(min = 32)
    private String password;
}
